import request from "@/utils/request";

//新增接口
export const addProdContainerInfo = (data) => {
  return request({
    url: "prod/prodContainer/add",
    method: "post",
    data,
  });
};
//编辑接口
export const updateProdContainerInfo = (data) => {
  return request({
    url: "prod/prodContainer/edit",
    method: "post",
    data,
  });
};
//查询接口
export const queryProdContainerInfoList = (data) => {
  return request({
    url: "prod/prodContainer/list",
    method: "post",
    data,
  });
};
//删除接口
export const deleteProdContainerInfo = (data) => {
  return request({
    url: "prod/prodContainer/deleteBatch",
    method: "post",
    data,
  });
};
//数据回显接口
export const getProdContainerData = (data) => {
  return request({
    url: `prod/prodContainer/queryById?id=${param}`,
    method: "post",
    data,
  });
};